<template>
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/index' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>{{breadobj.oneName}}</el-breadcrumb-item>
      <el-breadcrumb-item>{{breadobj.twoName}}</el-breadcrumb-item>
    </el-breadcrumb>
</template>
<script>
export default {
    data(){
        return {
            breadobj:{}
        }
    },
    created(){
       this.breadobj=JSON.parse(sessionStorage.getItem('breadName'))
      
    }
}
</script>